<?php

namespace app\common\validate;

class AppointmentOrderValidate extends BaseValidate
{
    /**
     * 验证规则
     */
    protected $field = [
        'id'               => '',
        'order_no'         => '订单号',
        'store_id'         => '门店ID',
        'store_name'       => '门店名称',
        'user_id'          => '预约用户ID',
        'order_status'     => '订单状态',
        'appointment_time' => '预约时间',
        'create_time'      => '创建时间',

    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'getAppointmentOrderPage' => [
            "page_index"       => 'integer',
            "page_size"        => 'integer',
            "order_status",
            "appointment_time" => 'array',
            "create_time"      => 'array',
            'user_id',
            'store_id'
        ],
        'getAppointmentOrderList' => [],
        'setAppointmentOrderItem' => [],
        'addAppointmentOrderItem' => [
            'store_id',
            'services',
            'user_id'
        ],
    ];

    /**
     * 提示消息
     */
    protected $message = [

    ];


}
